/*
 * polynomial.h
 *
 *  Created on: Jun 22, 2011
 *      Author: Gilad & Yotam
 */

#ifndef POLYNOMIAL_H_
#define POLYNOMIAL_H_

#include "job.h"

class Polynomial: public Job {
	// receives a matrix and a power, and returns the matrix times the power
	static Matrix matrixPower(const Matrix& matrix, int power);
public:
	Polynomial(int id, int priority, const Matrix& a, const Matrix& b);
	Matrix execute();
};

#endif /* POLYNOMIAL_H_ */
